package net.chenlin.dp.modules.newBusiness.entity.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @Author: Yansgm
 * @Description:
 * @Date: 2025-04-02 21:18:59
 */
@Data
public class TopologyNodeTreeVo {

    private Integer districtId;

    private Integer nodeId;

    private String nodeName;

    private Integer nodeType;

    private String nodeTypeName;

    private String deviceAlias;

    private Integer parentNodeId;

    private String parentNodeName;

    @ApiModelProperty("设备关联的用户数量")
    private Integer userNum;

    @ApiModelProperty("上级节点属性")
    private String parentNodeType;

    private String parentDeviceAlias;

    @ApiModelProperty("0：三相电路；1：单相电路（节点属性为户表才存在）")
    private Integer circuitType;

    @ApiModelProperty("0：三相电路；1：单相电路（节点属性为户表才存在）")
    private String circuitTypeName;

    @ApiModelProperty("倍率：三相才存在")
    private BigDecimal magnification;

    private List<TopologyNodeTreeVo> child;
}
